package han;

import java.util.Scanner;

public class Jo1Circle {

	public static void main(String[] args) {
		double Radius;
		final double PI = 3.14;
		double getArea;
		double getPerimeter;
		Scanner sc= null;;
		//클래스변수를 초기화할때는 null사용
		 sc = new Scanner(System.in);
		 System.out.println("반지름을 입력해주세요");
		 Radius = sc.nextDouble();
		getArea = Radius * Radius * PI;
		getPerimeter = Radius * 2 * PI;
		System.out.println("넓이 = " + getArea);
		System.out.println("둘레 = " + getPerimeter);
		sc.close();
	}

}
